Hi,
Trigger t1 = trigger("init", project, pre, open, 10, "#include <triggers/projOpen>")
string s_dxl = "
ack \"yes\"
"
Trigger t1
t1 = trigger("init", project, pre, open, 10, s_dxl)
if (null(t1)) ack "Trigger empty"
SystemAdmin - Mon Aug 16 04:50:59 EDT 2010 |
Re: How to activate Trigger when project opened But coming back to your question: I am not completly sure, but I think this is not possible. If you find out the opposite, feel free to post it. Regards, Mathias Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS |
Re: How to activate Trigger when project opened Telelogic adopted a policy to insure that old DXL still 'worked' in newer versions, meaning 'Doesn't generate interpret errors', but SHEESH, if there are no more projects open events then surely I'd prefer my old v4 DXL to generate an error rather than not work at all. Its sort of like the Cross Walk Buttons on lights in Manhattan. They haven't been connected for years and they really should have disabled them visually.
|
Re: How to activate Trigger when project opened Thanks for the replies Mathias and Louie. The technique of putting the trigger on a link module is interesting, but seems to provide the same effect as putting the trigger on all modules. I suppose it does limit the number of modules the trigger is called by (assuming only certain modules have links through that link module) and removes the need to put a check at the start of the trigger to confirm the module is one you want the trigger to run from. On first thoughts though it could make it tricky to get a handle on the current formal module, depending on what you want the trigger to do. I would be happy to have trigger called by projects - users should not be installing random triggers without knowing what they do anyway! I think it would be useful for high level trigger calls. For example, displaying an information box specific to a certain project. Thanks for the history Louie, that explains why it is still in the help file but cannot be done. Simon. |